{% load future wenlincms_tags wlcore_tags report_tags %}

<div class="report-box">
    <h3 class="report-title">财务分析图</h3>
    <table class="report-table"></table>
    <div id="c_financial_area" style="width: 90%;height: 400px;"></div>
    <div id="c_financial" style="width: 90%;height: 400px;"></div>
    <div id="c_financial_rate" style="width: 100%;height: 400px;"></div>
    <h3 class="report-title report-table-hide">企业经营数据</h3>
    <table class="report-table report-table-hide"></table>
    <table class="basictable" id="c_financial_table">
        <caption>
            <span class="cu_title">关键财务数据（单位：元）</span>
        </caption>
    </table>
    <table class="basictable" id="c_rate_table">
        <caption>
            <span class="cu_title">财务比率</span>
        </caption>
    </table>
</div>

<div class="report-box">
    <h3 class="report-title">进出口贸易数据</h3>
    <table class="report-table"></table>

    <div id="c_importers" style="width: 100%;height: 400px;"></div>
    <table class="basictable" id="c_importers_table">
        <caption>
            <span class="cu_title">月度统计（单位：万美元）</span>
            <span class="cu_tools">
                  <i class="am-icon-chevron-left" id="prevyear">前一年</i>
                <small class="cu_year"></small>年
                <i class="am-icon-chevron-right" id="nextyear">后一年</i>
            </span>
        </caption>
    </table>
    <table  id="c_importers_detail_table">
        <caption>
            <span class="cu_title">商品详情（单位：万美元）</span>
        </caption>
        <tr>
            <th width="100">年份</th>
            <th width="400">商品类别</th>
            <th width="160">进口金额</th>
            <th width="160">出口金额</th>
        </tr>
    </table>
</div>

<script>
    $.ajax({
        <!--var nurl=-->
        <!--url: "?part=json_caiwu",-->
        url:"getJsonCaiwu.do"+window.location.search+"&entId=" + {{java_ui_entid}},
        success: function (data) {
            financialAnalysis(data);
            imdetailtab(data.goods);
            autohei();
            $("#loadingimg").hide();
        }
    });
</script>
